package com.lyandwc.lw_bbs.security.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lyandwc.lw_bbs.security.dao.AuthDao;
import com.lyandwc.lw_bbs.security.entity.Auth;
import com.lyandwc.lw_bbs.security.service.AuthService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AuthServiceImpl extends ServiceImpl<AuthDao, Auth> implements AuthService {
    @Override
    public List<Auth> findAuthByUserId(int userId) {
        return this.baseMapper.findAuthByUserId(userId);
    }
}
